package net.jalisq.types;

public class DerivedColumnAdapterAliasable<Type> extends DerivedColumnAdapter {

	public static <Type> AliasColumn<Type> as(String as, IColumn<Type> col) {
		return new AliasColumn<Type>(as, col.getType(), col);
	}

	public DerivedColumnAdapterAliasable(String repr, Class<Type> type,
			IColumn... cols) {
		super(repr, type, cols);

	}

	public AliasColumn<Type> as(String as) {
		return DerivedColumnAdapterAliasable.<Type> as(as, this);

	}

}
